WeglotWP\Actions\Front\Translate_Page_Weglot C

Total Complexity 117
Dependencies 13
Dependents 0
Total lines 729
Lines of code 471
Logical lines of code 262
Comment lines 210
Methods 16
Properties 8

Methods 16

Method Rating Maintainability Complexity Lines of code
weglot_dynamics()
B
37 16 73
enqueue_switcher_templatefile()
A
40 13 60
weglot_init()
A
46 11 38
check_need_to_redirect()
A
55 12 18
hooks()
A
50 11 25
weglot_custom_settings()
A
42 8 50
manage_trailing_slash()
A
45 8 43
prepare_request_uri()
A
48 8 33
get_template_hash()
A
49 8 29
no_translate_action_ajax()
A
48 7 34
check_custom_redirect()
S
57 5 15
weglot_href_lang()
S
60 4 14
switcher_default_options()
S
55 2 20
prepare_rtl_language()
S
69 2 7
__construct()
S
65 1 9
ends_with_slash()
S
78 1 3